﻿using System;
namespace EyeOpen.Validation
{
    /// <summary>
    /// Represents a factory that returns a concrete validatoin factory.
    /// </summary>
    public interface IValidationProviderFactory
    {
        /// <summary>
        /// Gets the validator.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <returns>Returns an entity validator.</returns>
        IEntityValidator GetValidator<T>();
    }
}
